Ubuntu 16.04
Sponsored Link

Configure NTP Server (NTPd)
2016/04/21
 
Install NTPd and Configure NTP server for time adjustment. NTP uses 123/UDP.
[1] Install and Configure NTPd.
root@dlp:~#
apt-get -y install ntp
root@dlp:~#
vi /etc/ntp.conf
# line 18: omment out

#
pool 0.ubuntu.pool.ntp.org iburst
#
pool 1.ubuntu.pool.ntp.org iburst
#
pool 2.ubuntu.pool.ntp.org iburst
#
pool 3.ubuntu.pool.ntp.org iburst
#
pool ntp.ubuntu.com
# add servers of your timezone for time synchronization

server ntp1.jst.mfeed.ad.jp iburst
server ntp2.jst.mfeed.ad.jp iburst
server ntp3.jst.mfeed.ad.jp iburst
# line 50: add the network range you allow to receive requests

restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap
root@dlp:~#
systemctl restart ntp
# show status

root@dlp:~#
ntpq -p

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*ntp1.jst.mfeed. 133.243.236.17   2 u    8   64    3   17.613    3.116   2.670
 ntp2.jst.mfeed. .INIT.          16 u    -   64    0    0.000    0.000   0.000
+ntp3.jst.mfeed. 133.243.236.17   2 u    3   64    3   18.134    2.303   3.591
 
Tweet